# This file demonstrates how to compile the hello-world project
# on Linux. Just run "make" to compile it.

GPP=g++
OUTFILE="myquery.so"

COMPILE_FLAGS=-m32 -c -O3 -fPIC -I../

all:
	$(GPP) $(COMPILE_FLAGS) ../SDK/*.cpp
	$(GPP) $(COMPILE_FLAGS) querysock.cpp
	$(GPP) $(COMPILE_FLAGS) amxhandler.cpp
	$(GPP) -m32 -O2 -fshort-wchar -shared -o $(OUTFILE) *.o
	rm *.o
